package com.huang.dos;

/**
 * @author mr.huang [jie88888822@163.com]
 * @devTime 2022-06-09
 */
public class Menu {
	private Integer id;
	private String name;
	private Integer parentId;

	public Menu() {
	}

	public Menu(Integer id, String name, Integer parentId) {
		this.id = id;
		this.name = name;
		this.parentId = parentId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	@Override
	public String toString() {
		return "Menu{" +
				"id=" + id +
				", name='" + name + '\'' +
				", parentId=" + parentId +
				'}' + '\n';
	}
}
